package com.qunar.homework4.model;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;
@NoArgsConstructor
@Setter
@Getter
@ToString
public class Paragraph {
    private Integer id;
    private String url;
    private String title;
    private Integer totalCount;
    private Integer totalSymbolCount;
    private Integer totalChineseCount;
    private Integer totalEnglishCount;
    private Date createTime;
    private Date modifiedTime;

    public Paragraph(String url, String title, Integer totalCount, Integer totalSymbolCount
            , Integer totalChineseCount, Integer totalEnglishCount, Date createTime, Date modifiedTime) {
        this.url = url;
        this.title = title;
        this.totalCount = totalCount;
        this.totalSymbolCount = totalSymbolCount;
        this.totalChineseCount = totalChineseCount;
        this.totalEnglishCount = totalEnglishCount;
        this.createTime = createTime;
        this.modifiedTime = modifiedTime;
    }
}